﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace IntelligentEscalator.Models
{
    public class InspectionPlanInfo
    {
        public int id { get; set; }
        public int elevatorId { get; set; }
        public string inspectionNo { get; set; }
        public string inspectionDatetime { get; set; }
        public string inspectionAssignMan { get; set; }
        public string inspectionPerson { get; set; }
        public int inspectionPersonid { get; set; }
        public string inspectionState { get; set; }
        private int inspectionstate_id = -1;
        public int inspectionStateId
        {
            get { return inspectionstate_id; }
            set { inspectionstate_id = value; }
        }
        public string inspectionSituation { get; set; }
        public int inspectionGroupid { get; set; }
        public int isDelete { get; set; }
        public int Recordhead { get; set; }//记录头
        public int Recordtail { get; set; }//记录尾
        public string elevatorNo { get; set; }
        public string elevatorName { get; set; }
        public string groupNo { get; set; }
        public string startTime { get; set; }
        public string endTime { get; set; }
        public string preParationTime { get; set; }
        public string receiveTime { get; set; }
        public string arriveTime { get; set; }
        public string completeTime { get; set; }
        public string acceptanceTime { get; set; }
        public string areaName { get; set; }
        public string multipleElevatorID { get; set; }
        public string workorderStateName { get; set; }
        private int attribute = -1;

        public int workattribute
        {
            get { return attribute; }
            set { attribute = value; }
        }
        public string workattributeName { get; set; }
        public List<Rtime> rogressedtime { get; set; }
        public string remark { get; set; }
        public string receiveName { get; set; }
        public string repairperson { get; set; }
        public string contractNo { get; set; }
        public string saleNo { get; set; }
        public int outofservice { get; set; }
        public int mainAreaId { get; set; }//父区域id
        public string mainAreaName { get; set; }//父区域名称
        public int areaId { get; set; }//区域id
        public string ids { get; set; }
        public int type { get; set; }//0=工单1=历史
    }

    public class WorkorderState
    {
        public int id { get; set; }
        public string workorderStateName { get; set; }
    }

    public class UploadFileEntity
    {
        public string FileName { get; set; }
        public string FilePath { get; set; }
    }
}
